﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200075B RID: 1883
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMonopolyFriendRankingListScRsp : IMessage<GetMonopolyFriendRankingListScRsp>, IMessage, IEquatable<GetMonopolyFriendRankingListScRsp>, IDeepCloneable<GetMonopolyFriendRankingListScRsp>, IBufferMessage
	{
		// Token: 0x17001811 RID: 6161
		// (get) Token: 0x060054A0 RID: 21664 RVA: 0x000E4EAF File Offset: 0x000E30AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMonopolyFriendRankingListScRsp> Parser
		{
			get
			{
				return GetMonopolyFriendRankingListScRsp._parser;
			}
		}

		// Token: 0x17001812 RID: 6162
		// (get) Token: 0x060054A1 RID: 21665 RVA: 0x000E4EB6 File Offset: 0x000E30B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMonopolyFriendRankingListScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001813 RID: 6163
		// (get) Token: 0x060054A2 RID: 21666 RVA: 0x000E4EC8 File Offset: 0x000E30C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMonopolyFriendRankingListScRsp.Descriptor;
			}
		}

		// Token: 0x060054A3 RID: 21667 RVA: 0x000E4ECF File Offset: 0x000E30CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMonopolyFriendRankingListScRsp()
		{
		}

		// Token: 0x060054A4 RID: 21668 RVA: 0x000E4EE4 File Offset: 0x000E30E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMonopolyFriendRankingListScRsp(GetMonopolyFriendRankingListScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.hOCAMEEKCJI_ = other.hOCAMEEKCJI_.Clone();
			this.oFIPMIFBHGI_ = ((other.oFIPMIFBHGI_ != null) ? other.oFIPMIFBHGI_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060054A5 RID: 21669 RVA: 0x000E4F41 File Offset: 0x000E3141
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMonopolyFriendRankingListScRsp Clone()
		{
			return new GetMonopolyFriendRankingListScRsp(this);
		}

		// Token: 0x17001814 RID: 6164
		// (get) Token: 0x060054A6 RID: 21670 RVA: 0x000E4F49 File Offset: 0x000E3149
		// (set) Token: 0x060054A7 RID: 21671 RVA: 0x000E4F51 File Offset: 0x000E3151
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001815 RID: 6165
		// (get) Token: 0x060054A8 RID: 21672 RVA: 0x000E4F5A File Offset: 0x000E315A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MEEEDDFNIEI> HOCAMEEKCJI
		{
			get
			{
				return this.hOCAMEEKCJI_;
			}
		}

		// Token: 0x17001816 RID: 6166
		// (get) Token: 0x060054A9 RID: 21673 RVA: 0x000E4F62 File Offset: 0x000E3162
		// (set) Token: 0x060054AA RID: 21674 RVA: 0x000E4F6A File Offset: 0x000E316A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MEEEDDFNIEI OFIPMIFBHGI
		{
			get
			{
				return this.oFIPMIFBHGI_;
			}
			set
			{
				this.oFIPMIFBHGI_ = value;
			}
		}

		// Token: 0x060054AB RID: 21675 RVA: 0x000E4F73 File Offset: 0x000E3173
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMonopolyFriendRankingListScRsp);
		}

		// Token: 0x060054AC RID: 21676 RVA: 0x000E4F84 File Offset: 0x000E3184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMonopolyFriendRankingListScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.hOCAMEEKCJI_.Equals(other.hOCAMEEKCJI_) && object.Equals(this.OFIPMIFBHGI, other.OFIPMIFBHGI) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060054AD RID: 21677 RVA: 0x000E4FE8 File Offset: 0x000E31E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.hOCAMEEKCJI_.GetHashCode();
			if (this.oFIPMIFBHGI_ != null)
			{
				num ^= this.OFIPMIFBHGI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060054AE RID: 21678 RVA: 0x000E504B File Offset: 0x000E324B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060054AF RID: 21679 RVA: 0x000E5053 File Offset: 0x000E3253
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060054B0 RID: 21680 RVA: 0x000E505C File Offset: 0x000E325C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.oFIPMIFBHGI_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.OFIPMIFBHGI);
			}
			this.hOCAMEEKCJI_.WriteTo(ref output, GetMonopolyFriendRankingListScRsp._repeated_hOCAMEEKCJI_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060054B1 RID: 21681 RVA: 0x000E50C8 File Offset: 0x000E32C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.hOCAMEEKCJI_.CalculateSize(GetMonopolyFriendRankingListScRsp._repeated_hOCAMEEKCJI_codec);
			if (this.oFIPMIFBHGI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OFIPMIFBHGI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060054B2 RID: 21682 RVA: 0x000E5134 File Offset: 0x000E3334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMonopolyFriendRankingListScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.hOCAMEEKCJI_.Add(other.hOCAMEEKCJI_);
			if (other.oFIPMIFBHGI_ != null)
			{
				if (this.oFIPMIFBHGI_ == null)
				{
					this.OFIPMIFBHGI = new MEEEDDFNIEI();
				}
				this.OFIPMIFBHGI.MergeFrom(other.OFIPMIFBHGI);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060054B3 RID: 21683 RVA: 0x000E51AD File Offset: 0x000E33AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060054B4 RID: 21684 RVA: 0x000E51B8 File Offset: 0x000E33B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 58U)
					{
						if (num != 82U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.hOCAMEEKCJI_.AddEntriesFrom(ref input, GetMonopolyFriendRankingListScRsp._repeated_hOCAMEEKCJI_codec);
						}
					}
					else
					{
						if (this.oFIPMIFBHGI_ == null)
						{
							this.OFIPMIFBHGI = new MEEEDDFNIEI();
						}
						input.ReadMessage(this.OFIPMIFBHGI);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400211A RID: 8474
		private static readonly MessageParser<GetMonopolyFriendRankingListScRsp> _parser = new MessageParser<GetMonopolyFriendRankingListScRsp>(() => new GetMonopolyFriendRankingListScRsp());

		// Token: 0x0400211B RID: 8475
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400211C RID: 8476
		public const int RetcodeFieldNumber = 2;

		// Token: 0x0400211D RID: 8477
		private uint retcode_;

		// Token: 0x0400211E RID: 8478
		public const int HOCAMEEKCJIFieldNumber = 10;

		// Token: 0x0400211F RID: 8479
		private static readonly FieldCodec<MEEEDDFNIEI> _repeated_hOCAMEEKCJI_codec = FieldCodec.ForMessage<MEEEDDFNIEI>(82U, MEEEDDFNIEI.Parser);

		// Token: 0x04002120 RID: 8480
		private readonly RepeatedField<MEEEDDFNIEI> hOCAMEEKCJI_ = new RepeatedField<MEEEDDFNIEI>();

		// Token: 0x04002121 RID: 8481
		public const int OFIPMIFBHGIFieldNumber = 7;

		// Token: 0x04002122 RID: 8482
		private MEEEDDFNIEI oFIPMIFBHGI_;
	}
}
